package com.gengzp.rpc.model.serviceRegistration.resp;

import java.io.Serial;
import java.io.Serializable;

/**
 * @ClassName SearchServiceRegistrationResp
 * @Description
 * @Author gengzp
 * @Date 2025/10/13 22:26
 */
public class SearchServiceRegistrationResp implements Serializable {

    @Serial
    private static final long serialVersionUID = -8597848333881488003L;

    /**
     * 服务名
     */
    private String serviceName;

    /**
     * 服务地址 (ip:端口号)
     */
    private String address;

    /**
     * 注册 ip 类型
     * {@link com.gengzp.rpc.enums.RpcServiceRegisterIpTypeEnum}
     */
    private String registerIpType;

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getRegisterIpType() {
        return registerIpType;
    }

    public void setRegisterIpType(String registerIpType) {
        this.registerIpType = registerIpType;
    }

}
